<div class="portlet">
  <div class="portlet-header">
    <h1><%=t ".title"%></h1>
  </div>
  <div class="portlet-content">
        <table>
          <tbody>
            <tr>
              <td> <%= label_tag :title, t('activerecord.attributes.material.title') %></td>
              <td> <%= h @material.title %> </td>
            </tr>
            <tr>
              <td> <%= label_tag :sub_title, t('activerecord.attributes.material.sub_title') %></td>
              <td> <%=  h @material.sub_title %> </td>
            </tr>
            <tr>
              <td> <%= label_tag :material_type, t('activerecord.attributes.material.material_type') %></td>
              <td> <%= h @material.material_type.description %> </td>
            </tr>
            <tr>
              <td> <%= label_tag :edition_number, t('activerecord.attributes.material.edition_number') %></td>
              <td> <%= h @material.edition_number %> </td>
            </tr>
            <tr>
              <td> <%= label_tag :edition_year, t('activerecord.attributes.material.edition_year') %></td>
              <td> <%= h @material.edition_year %></td>
            </tr>
            <tr>
              <td> <%= label_tag :isbn, t('activerecord.attributes.material.isbn') %></td>
              <td> <%= h @material.isbn %> </td>
            </tr>
            <tr>
              <td> <%= label_tag :issn, t('activerecord.attributes.material.issn') %></td>
              <td> <%= h @material.issn %></td>
            </tr>
            <tr>
              <td> <%= label_tag :price, t('activerecord.attributes.material.price') %></td>
              <td> <%= h @material.price %> </td>
            </tr>
            <tr>
              <td> <%= label_tag :currency, t('activerecord.attributes.material.currency') %></td>
              <td> <%= h @material.currency.name %> </td>
            </tr>
            <tr>
              <td> <%= label_tag :pages, t('activerecord.attributes.material.pages') %></td>
              <td> <%= h @material.pages %></td>
            </tr>
            <tr>
              <td> <%= label_tag :weight, t('activerecord.attributes.material.weight') %></td>
              <td> <%= h @material.weight %></td>
            </tr>
            <tr>
              <td> <%= label_tag :height, t('activerecord.attributes.material.height') %></td>
              <td> <%= h @material.height %></td>
            </tr>
            <tr>
              <td> <%= label_tag :section_number, t('activerecord.attributes.material.section_number') %></td>
              <td> <%= h @material.section_number %></td>
            </tr>
            <tr>
              <td> <%= label_tag :comment, t('activerecord.attributes.material.comment') %></td>
              <td> <%= h @material.comment %></td>
            </tr>   

          </tbody>
        </table>

        <div class="line-links">
          <%= link_to t('btn_back'), materials_redirect_back_path(materials_path) %>
        </div>

  </div>
  <div class="portlet-footer">
  </div>
</div>
